package com.ld.wms.business.material.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ld.wms.business.material.model.FieldInfoModel;
import com.ld.wms.business.material.vo.req.FieldInfoReqVo;
import com.ld.wms.business.material.vo.resp.FieldInfoRespVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 自定义字段表 Mapper 接口
 * </p>
 *
 * @author wangfeng
 * @since 2025-02-26
 */
public interface FieldInfoMapper extends BaseMapper<FieldInfoModel> {

    IPage<FieldInfoRespVo> selectPageList(IPage<FieldInfoRespVo> page, @Param("name") String name);

    List<FieldInfoRespVo> selectListByMaterialTypeId(@Param("materialTypeId") Long materialTypeId);

}
